package com.bjc.principle.visitor;

/**
 * @program: DesignPattern
 * @description: 定义一个表示访问者的接口。
 * @author: bjc
 * @create: 2021-01-04 18:36
 */
public interface ComputerPartVisitor {
    void visit(Computer computer);
    void visit(Mouse mouse);
    void visit(KeyBoard keyBoard);
    void visit(Monitor monitor);
}
